﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace DAL
{
    public abstract class PhieunhapParameterDAL:BaseDAL,IBase
    {
        #region IBase Members

        public int Count()
        {
            throw new NotImplementedException();
        }

        public object Select(string code)
        {
            throw new NotImplementedException();
        }

        public System.Data.DataTable Select(Guid fKey)
        {
            throw new NotImplementedException();
        }

        public System.Data.DataTable Select(object obj, int skip, int take)
        {
            throw new NotImplementedException();
        }

        public object Insert(object obj)
        {
            throw new NotImplementedException();
        }

        public object Update(object obj)
        {
            throw new NotImplementedException();
        }

        public object Delete(Guid id)
        {
            throw new NotImplementedException();
        }

        #endregion

        public DataTable PhieunhapParameter_Select_TungayDenngay(DAL.Entities.PhieunhapParameter pnp)
        {
            return Mapper.QueryForDataTable("PhieunhapParameter_Select_TungayDenngay",pnp,"Temp");
        }

        public DataTable PhieunhapParameter_Select_TungayDenngayNCC(DAL.Entities.PhieunhapParameter pnp)
        {
            return Mapper.QueryForDataTable("PhieunhapParameter_Select_TungayDenngayNCC", pnp, "Temp");
        }

        public DataTable TrahangPhieunhapParameter_Select_TungayDenngay(DAL.Entities.PhieunhapParameter pnp)
        {
            return Mapper.QueryForDataTable("TrahangPhieunhapParameter_Select_TungayDenngay", pnp, "Temp");
        }

        public DataTable TrahangPhieunhapParameter_Select_TungayDenngayNCC(DAL.Entities.PhieunhapParameter pnp)
        {
            return Mapper.QueryForDataTable("TrahangPhieunhapParameter_Select_TungayDenngayNCC", pnp, "Temp");
        } 
    }
}
